<!DOCTYPE html>
<html dir="ltr" lang="en-US">
	<head profile="http://gmpg.org/xfn/11">
		<title><?php echo $title ?></title>
		<meta charset="utf-8" />
		
		<meta name="keywords" content="" />  <!-- ?? -->
		<meta name="description" content="" /> <!-- ?? -->

		<?php 
			echo HTML::style('application/views/styles/default.css');
			echo HTML::style('application/views/styles/gallery.css');
			foreach ($styles as $file => $type) 
				echo HTML::style($file, array('media' => $type)), "\n" 
		?>

		<?php echo HTML::script('application/views/scripts/modernizr.js'); ?>
		<?php echo HTML::script('application/views/scripts/jquery.slidertron-0.1.js'); ?>
		<?php echo HTML::script('application/views/scripts/jquery-1.4.2.min.js'); ?>
		<?php foreach ($scripts as $file) echo HTML::script($file), "\n" ?>
  
	</head>
	<body>
	<div id="wrapper">
		<div id="header">
			<div id="logo">
				<h1><a href="#">Cloud<font color="gray">Lecturing</font> </a></h1>
				<h2><a href="#">雲端課程講手</a></h2>
			</div>
		<div id="menu">
				<a href="<?php echo URL::site() . Request::current()->uri(array('controller'=>'cloudlecturing','action'=>'index'));?>">首頁</a>
				<a href="<?php echo URL::site() . Request::current()->uri(array('controller'=>'user','action'=>'login'));?>">登入</a>
				<a href="<?php echo URL::site() . Request::current()->uri(array('controller'=>'user','action'=>'register'));?>">註冊</a>
				<a href="<?php echo URL::site().Request::current()->uri(array('controller'=>'record','action'=>''));?>">錄製</a>
		</div>
		<div id="search">
			<form method="get" action="">
			
				<input type="text" id="seach-text" name="s" value="" width="500px"/>
				<input type="submit" id="search-submit" value="Search" />
			
			</form>
		</div>



	</div>
		<div id="page"><?php echo $content ?></div>
	<div id="footer-wrapper">
		<div id="footer">
			<p id="legal">Copyright &copy; 2011 Vertebrate . All Rights Reserved. Designed by KING19880326, ONLYS , JOSHUX</p>
		</div>
	</div>
	</body>
</html>
